package com.meme.editor.model.sprite2d;

import java.util.ListIterator;
import java.util.Vector;

import com.meme.editor.EntityObject;
import com.meme.editor.PropertyValueModification;
import com.meme.editor.PropertyValueModificationList;


public class Sprite2dModel extends EntityObject
{
	// Animation
	// Vector<ModuleMapping> mLayers
	// Vector<RenderStrategy> 
	
	
	
	public Sprite2dModel ()
	{
		this (null);
	}
	
	public Sprite2dModel (String name)
	{
		super (name);
		
		// build property manager
	}
	
	@Override
	public String getDefaultName ()
	{
		return "Model";
	}
	
	@Override
	protected void _handleModifyingPropertyValues (PropertyValueModificationList modications)
	{		
		ListIterator<PropertyValueModification> iter = modications.listIterator();
		while ( iter.hasNext() )
		{
			PropertyValueModification mod = iter.next();
		}
	}
	
	public void setAnimationGroup ()
	{
		
	}
	
	
//	class ModelConig
//	{
//		AnimationGroup ag;
//		Pose ;
//	}
//	
//	Vector<Animation> mAnimations;
//	Vector<ModuleGroup> mFrameModuleGroups;
//	
//	public void render (int animID, int sequenceID)
//	{
//		Animation anim = mAnimations.elementAt (animID);
//		Module framemodule = anim.
//	}
}
